<template>
  <router-view  v-if="isRouterActive"></router-view>
</template>  

<script setup>
  import { provide ,ref, nextTick} from 'vue';
  import utils from './utils/index.js';

  const isRouterActive = ref(true);
  provide('reload', () => {
      isRouterActive.value = false;
      nextTick(() => {
        isRouterActive.value = true;
      })
  })

  provide('utils',utils);
  
</script>

